/*
 * ConnectMessage.cpp
 *
 */

#include "ConnectMessage.h"

vsznDefault(ConnectMessage);

ConnectMessage::ConnectMessage()  :
        version_error(false)
{
	// Default constructor is
	// necessary for serialization
}

ConnectMessage::ConnectMessage(uint32_t nonce)  :
        min_version(MIN_VERSION),
        max_version(MAX_VERSION),
        nonce(nonce),
        version_error(false)
{
}

ConnectMessage::ConnectMessage(ConnectMessage &other)
{
    assert(false);
}

ConnectMessage::~ConnectMessage()
{
}
